﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SRF.Data.SQLParser
{
    /// <summary>
    /// sql语句解析器接口
    /// </summary>
    public interface ISQLParser
    {
        /// <summary>
        /// sql语句解析
        /// </summary>
        /// <param name="sql">sql语句</param>
        /// <param name="getParameterValue">获取参数值的函数</param>
        /// <param name="parameterToken"></param>
        /// <returns>返回解析后的语句</returns>
        string Parse(string sql, Func<string, object> getParameterValue, char parameterToken);
    }
}